Layer Definition Schema
GPS Element
See Also  Send comments on this topic.
Layer Definition Schema : GPS Element

Glossary Item Box

Description

Used to specify script subroutines to call when GPS events occur.

Diagram

GPS Element

Overview

GPS
Used to specify script subroutines to call when GPS events occur.
onaveragestart optional
Specify the script to run when this event occurs.
onaveragestop optional
Specify the script to run when this event occurs.
onclose optional
Specify the script to run when this event occurs.
onexevent optional
Specify the script to run when this event occurs.
onopen optional
Specify the script to run when this event occurs.
onposition optional
Specify the script to run when this event occurs.
onsentence optional
Specify the script to run when this event occurs.

Attributes

NameTypeUseDefaultFixedDescription
onaveragestart optional  Specify the script to run when this event occurs.
onaveragestop optional  Specify the script to run when this event occurs.
onclose optional  Specify the script to run when this event occurs.
onexevent optional  Specify the script to run when this event occurs.
onopen optional  Specify the script to run when this event occurs.
onposition optional  Specify the script to run when this event occurs.
onsentence optional  Specify the script to run when this event occurs.

Examples

Restrictions

  • The subroutine called should be located in the file specified in the SCRIPT element.

Source

<xs:element name="GPS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to specify script subroutines to call when GPS events occur.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="onaveragestart">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onaveragestop">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onclose">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onexevent">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onopen">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onposition">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onsentence">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.